
$colorL: #ff9926;

.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.main {
  width: 1200px;
  margin: 0 auto;
  .mian-path {
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
      a {
        color: #969696;
        &:hover {
          color: red;
        }
      }
    }
  }

  .h5-left{
    float: left;
    width: 832px;
    font-size: 12px;
    .g_c_t{
      border: 1px solid #eee;
      border-radius: 10px;
      .n-d-top{
        width: 100%;
        height: 180px;
        border-bottom: 1px solid #eaeaea;
        .n-d-t-left{
          float: left;
          width: 120px; height: 120px;
          margin: 25px 8px;
          border-radius: 20px;
          overflow: hidden;
          a img{
            width: 100%; height: 100%;
          }
        }
        .n-d-t-center{
          float: left;
          width: 500px; height: 120px;
          margin: 25px 5px;
          font-family: Microsoft YaHei;
          .ndtc_1{
            height: 36px;
            line-height: 36px;
            font-size: 24px;
            a{
              color: #000;
            }
            a:hover{
              color: #ff6200;
              text-decoration: underline;
            }
          }
          .ndtc_2{
            font-size: 12px;
            line-height: 34px;
            a{
              margin-right: 20px;
              color: #888;
            }
            i{
              margin-left: 20px;
              color: #999;
              b{
                font-weight: normal;
                color: red;
              }
            }
          }
          .ndtc_3{
            margin-top: 8px;
            a, i{
              width: 130px;
              line-height: 38px;
              text-align: center;
              float: left;
              color: #fff;
              background: #099cda;
              font-size: 14px;
              margin: 0 20px 0 0;
              cursor: pointer;
            }
            i{
              background: #f7a131;
            }
            i:hover,a:hover{
              opacity: 0.8;
            }
          }
        }
        .n-d-t-right{
          float: right;
          width: 125px;
          margin: 20px 8px;
          img{
            width: 100%;
          }
          p{
            font-size: 12px;
            text-align: center;
            line-height: 22px;
          }
        }
      }

      .exquisite{
        position: relative;
        width: 100%; height: 400px;
        margin-top: 30px;
        .exquisite_btn{
          position: absolute; top: 170px;
          width: 30px;
          height: 56px;
          background-image: url(../img/bt_bg.png);
          cursor: pointer;
          z-index: 1000;
        }
        .exquisite_prev{
          background-position: 0 0;
          left: 0;
        }
        .exquisite_next{
          background-position: -32px 0;
          right: 0;
        }
        .exquisite_next:hover{
          background-position: -32px -58px;
          right: 0;
        }
        .exquisite_prev:hover{
          background-position: 0 -58px;
          left: 0;
        }

        .exquisite_list{
          position: relative;
          width: 794px; height: 400px;
          margin-left: 17px;
          overflow: hidden;
          ul{
            position: absolute; top: 0; left: 0;
            width: 10000px;
            height: inherit;
            li{
              float: left;
              width: 250px; height: inherit;
              margin-right: 23px;
              a{
                display: block;
                width: 100%; height: inherit;
                img{
                  width: 100%; height: inherit;
                }
              }
            }
          }
        }
      }

      .g_n_d_tit{
        width: 100%;
        margin-top: 20px;
        line-height: 35px;
        word-wrap: break-word;
        p{
          color: #3a3a3a;
          font-size: 18px;
          border-left: 10px solid $colorL;
          padding-left: 15px;
          margin: 0 0 0 30px;
          display: inline;
        }
        a{
          display: inline;
          margin: 7px 10px 0 0;
          padding: 2px;
          border: 1px solid #ff5e33;
          line-height: 15px;
          color: #ff5e33;
        }
      }

      .g_n_d_font{
        display: block;
        width: 94%;
        margin: 0 0 0 30px;
        padding: 10px 0 0 0;
        line-height: 25px;
        font-size: 14px;
        color: #666;
      }
    }

    .n_w_s{
      margin-top: 15px;
      border: 1px solid #eee;
      border-radius: 10px;
      .top-nav{
        height: 54px;
        margin: 0 12px;
        padding-top: 16px;
        border-bottom: 2px solid $colorL;
        p.li{
          float: left;
          position: relative;
          width: 136px;
          height: 42px;
          border-radius: 6px;
          font-size: 18px;
          font-weight: bold;
          line-height: 42px;
          text-align: center;
          span{
            position: absolute;
            left: 50%; bottom: -8px;
            margin-left: -5px;
          }
        }
        p.active{
          background: $colorL;
          color: #fff;
          span{
            border-top: 10px solid $colorL;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
          }
        }
        i{
          float: left;
          width: 2px;
          height: 20px;
          margin: 11px 30px;
          background: #999;
        }
      }

      .news{
        .news-ad1{
          height: 100%;
          margin: 15px;
          a{
            display: block;
            img{
              width: 100%;
            }
          }
        }
        ul{
          margin: 0 25px;
          border-top: 1px solid #ddd;
          li{
            padding: 18px 0;
            border-bottom: 1px dashed #ddd;
            .left-img{
              display: inline-block;
              width: 170px;
              height: 100px;
              a{
                display: block;
                height: 100%;
                img{
                  width: 100%; height: 100%;
                }
              }
            }
            .right-text{
              display: inline-block;
              width: 590px;
              height: 100px;
              margin-left: 15px;
              vertical-align: top;
              p.title{
                padding-bottom: 16px;
                a{
                  font-size: 20px;
                  font-weight: bold;
                  color: #222;
                }
                a:hover{
                  text-decoration: underline;
                  color: #dd7c01;
                }
              }
              p.commit{
                height: 40px;
                overflow: hidden;
                line-height: 20px;
                color: #555;
                a{
                  color: #1E9FFF;
                }
              }
              p.time{
                height: 24px;
                line-height: 24px;
                color: #999;
              }
            }
          }
          li:last-child{
            border: 0;
          }
        }
      }
    }

    .c_m_s{
      margin-top: 15px;
      border: 1px solid #eee;
      border-radius: 10px;
      .comment {
        .comment-title {
          line-height: 55px;
          font-size: 24px;
          p {
            float:left;
            span {
              margin-left: 10px;
              float:right;
              font-size: 14px;
              em {
                color: #ff0000;
              }
            }
          }

        }
        .comment-box {
          font-size: 14px;
          border: 1px solid #ccc;
          textarea {
            display: block;
            padding: 10px;
            width: calc( 100% - 20px);
            resize: vertical;
            min-height: 150px;
            border: none;
            line-height: 25px;
          }
          .comment-bar {
            border-top: 1px solid #ccc;
            height: 35px;
            line-height: 35px;
            position: relative;
            .face-show {
              float: left;
              margin-left: 16px;
              padding-left: 20px;
              background: url("../img/comment_bg.png") no-repeat 0 center;
              cursor: pointer;
            }
            input {
              float: right;
              border: none;
              outline: none;
              background: #ff6c45;
              padding: 0 16px;
              line-height: 35px;
              color: #fff;
              cursor: pointer;
            }
            #face-box {
              position: absolute;
              left: -1px !important;
              top: 35px !important;
              z-index: 100;
              border: 1px solid #ccc;
              padding: 2px;
              background: #fff;
              table {
                td {
                  padding: 0;
                  img {
                    cursor:pointer;border:1px #fff solid;
                    &:hover {
                      border:1px #0066cc solid;
                    }
                  }
                }
              }
            }
          }
        }
        .upload-img {
          p {
            margin-left: 6px;
            padding-left: 16px;
            line-height: 30px;
            font-size: 12px;
            color: #3e6098;
            background: url("../img/upload-cion.png") no-repeat 0 center;
            background-size: 14px;
            span {
              color: #666666;
              margin-right: 10px;
            }
          }
          ul {
            padding: 10px 0 ;
            li {
              box-sizing: border-box;
              position:relative;
              float:left;
              width: 84px;
              height:84px;
              margin-right: 10px;
              img {
                width: 100%;
                height: 100%;
              }
              span {
                position: absolute;
                top: -6px;
                left: -6px;
                width:20px;
                height: 20px;
                background: url("../img/close-icon.png") no-repeat;
              }
              input {
                display: block;
                width: 100%;
                height: 100%;
                opacity: 0;
                filter: opacity(0);
                cursor: pointer;
              }

            }
            .uploadBtn {
              border: 1px solid #ccc;
              background: url("../img/add-icon.jpg") no-repeat center;
            }
          }
        }
        .login-box {
          height: 36px;
          a {
            float: left;
            padding: 0 8px;
            line-height: 18px;
            font-size: 14px;
            margin: 9px 0;
            color: #0060ff;
            &:hover {
              text-decoration: underline;
            }
            & + a {
              border-left: 1px solid #0060ff;
            }
          }

        }
        .comment-list {
          .list-title {
            margin-top: 20px;
            border-top: 1px solid #d0d0d0;
            padding: 10px 0;
            line-height: 26px;
            font-size: 16px;
            font-weight: bold;
            color: #5a5a5a;
          }
          .more {
            text-align: center;
            background: #f2f9ff;
            border: 1px solid #dbeaff;
            color: #3b8eff;
            cursor: pointer;
            font-size: 16px;
            height: 38px;
            line-height: 38px;
            margin-top: 10px;
          }
          ul {
            width: 100%;
            li {
              width: 90%;
              padding-left: 10%;
              margin-top: 10px;
              position:relative;
              line-height: 30px;
              font-size: 14px;
              border-bottom: 1px dashed #dfdfdf;
              .user-head {
                position: absolute;
                left: 0;
                top: 0;
                width: 64px;
                height: 64px;
                border-radius: 32px;
              }
              .comment-info {
                text-align: right;
                color: #bfbfbf;
                strong {
                  float:left;
                  font-weight: bold;
                  color: #3b8eff;
                  margin-right: 20px;
                }
                span {
                  float:left;
                  color: #6f6f6f;
                }
              }
              .conmment-content {
                padding: 6px 0;
                line-hright: 26px;
              }
              .user-upload {
                text-align: center;
                font-size: 0;
                img{
                  box-sizing: border-box;
                  padding: 0 10px;
                  max-width: 50%;
                }
              }
              .reply {
                padding-top: 30px;
                dl {
                  margin-left: 20%;
                  dd {
                    padding: 10px 0 10px 12%;
                    border: 1px solid #e2e2e2;
                    position:relative;
                    background: #fcfcfc;
                    .user-head {
                      width: 52px;
                      height: 52px;
                      border-radius: 27px;
                      margin: 15px 0 0 10px;
                    }
                    .reply-info {
                      strong {
                        font-weight: bold;
                        color: #808080;
                        float:left;
                        margin-right: 20px;
                      }
                      span {
                        float:left;
                        color: #6f6f6f;
                      }
                    }
                    .reply-content {
                      line-height: 26px;
                      padding: 6px;
                      padding-left: 0;
                      color: #999999;
                    }
                    .tri {
                      display: block;
                      position: absolute;
                      width: 11px;
                      height: 6px;
                      background: url("../img/comment-top-arrow.png") no-repeat;
                      top: -6px;
                      left: 110px;
                    }
                    & + dd {
                      margin-top: 20px;
                    }

                  }

                }
                .reply-bar {
                  line-height: 14px;
                  margin: 16px 0;
                  span {
                    float: right;
                    padding: 0 10px;
                    color: #282828;
                    cursor: pointer;
                    em {
                      color: #f00;
                    }
                    & + span {
                      border-right: 1px solid #282828;
                      color: #f00;

                    }
                  }
                }
                .reply-box {
                  position: relative;
                  textarea {
                    float: right;
                    display: block;
                    box-sizing: border-box;
                    border-color: #d7d5d5;
                    padding: 10px;
                    line-height: 26px;
                    width: 80%;
                    margin-left: 20%;
                    resize: vertical;
                    min-height: 100px;
                  }
                  input {
                    float:right;
                    border: none;
                    color: #fff;
                    font-size: 14px;
                    width: 90px;
                    line-height: 35px;
                    text-align: center;
                    background: #e54c3d;
                    cursor: pointer;
                    margin: 15px 0 10px 0;
                  }
                  span {
                    display: block;
                    position: absolute;
                    width: 11px;
                    height: 6px;
                    background: url("../img/comment-top-arrow.png") no-repeat 0 -6px;
                    top: -5px;
                    right: 110px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .h5-right{
    float: right;
    width: 350px;
    > div {
      border: 1px solid #ddd;
      border-radius: 10px;
      .top{
        height: 50px;
        margin: 0 12px;
        border-bottom: 2px solid $colorL;
        .new-icon{
          float: left;
          font-size: 26px;
          text-indent: 40px;
          line-height: 50px;
        }
        .play{
          float: right;
          font-size: 16px;
          line-height: 50px;
          a{
            color: #555;
          }
        }
      }
    }
    .download-box{
      width: 100%;
      border-radius: 0;
      a{
        display: block;
        width: 100%;
        img{
          width: 100%;
        }
      }
    }

    .get-gift{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-gift.gif") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        font-size: 12px;
        li{
          position: relative;
          width: 100%;
          height: 32px;
          margin: 4px 0;
          background: url("../img/li_ico.png") no-repeat 2px center;
          float: left;
          div.h_d_1{
            float: left;
            width: 70%;
            margin-left: 10px;
            line-height: 32px;
            a{
              color: #555;
            }
            a:hover{
              color: $colorL;
              text-decoration: underline;
            }
          }
          div.h_d_2{
            float: right;
            width: 52px; height: 22px;
            margin-top: 5px;
            background: #fff;
            a{
              display: block;
              width: 50px; height: 20px;
              border: 1px solid #888;
              line-height: 20px;
              text-align: center;
              color: #888;
            }
            a:hover{
              background: $colorL;
              color: #fff;
              border-color: $colorL;
            }
          }
        }
      }
    }

    .tit-game{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-tlyx.png") no-repeat 0 8px;
      }
      .play-list{
        dl{
          float: left;
          width: 33.33%;
          padding-top: 16px;
          dt{
            border-radius: 10px;
            overflow: hidden;
            a{
              display: block;
              width: 80px; height: 80px;
              margin: 0 auto;
              img{
                width: 100%; height: 100%;
              }
            }
          }
          dd{
            padding: 8px 0;
            height: 12px;
            a{
              display: block;
              width: 100%;
              font-size: 12px;
              text-align: center;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              color: #555555;
            }
          }
        }
      }
    }

    .kf-game{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-kf.png") no-repeat 0 8px;
      }
      .game-list{
        margin: 0 12px;
        table{
          width: 100%;
          font-size: 12px;
          tr{
            height: 34px;
            line-height: 34px;
            th{
              color: #555;
            }
          }
          tr{
            height: 34px;
            line-height: 34px;
            border-bottom: 1px dashed #ccc;
            .t_1{
              width: 40px;
              text-align: left;
              color: #999;
            }
            .t_2{
              width: 80px;
              text-align: left;
            }
            .t_3{
              width: 80px;
              text-align: right;
            }
            .t_4{
              width: 44px;
              text-align: center;
              a{
                padding: 5px;
                border: 1px solid $colorL;
                background: #fff;
                color: $colorL
              }
            }
          }
          tr:last-child{
            border: 0;
          }
          tr:hover{
            td{
              color: $colorL
            }
            td a{
              background: $colorL;
              color: #fff;
            }
          }
        }
      }
    }

    .new-news{
      margin-top: 15px;
      font-size: 14px;
      .top .new-icon{
        background: url("../img/game-news.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 45px;
          line-height: 45px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          a{
            padding-left: 5px;
            background: url("../img/li_ico.png") no-repeat 0 5px;
            color: #555;
          }
          a:hover{
            text-decoration: underline;
            color: #ff5f4a;
          }
        }
      }
    }

    .hot-game{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-hot.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 40px;
          .sd1{
            line-height: 40px;
            a{
              padding-left: 10px;
              background: url("../img/li_ico.png") no-repeat 0 5px;
              color: #555;
            }
            span{
              float: right;
              color: #888;
            }
          }
          .sd2{
            display: none;
          }
        }
        li.active{
          height: 80px;
          padding: 10px 0;
          border-bottom: 1px dashed #ddd;
          .sd1{
            display: none;
          }
          .sd2{
            display: block;
            img{
              float: left;
              width: 80px; height: 80px;
            }
            div{
              float: left;
              margin-left: 14px;
              p a{
                font-size: 18px;
                line-height: 30px;
                color: #222;
              }
              p span{
                line-height: 25px;
                color: #888;
              }
              p em{
                line-height: 25px;
                color: #ff4f59;
              }
            }
          }
        }
      }
    }
  }
}
